package com.example.demo1;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Description:
 * @Author: yhb
 * @Date: Created in 2021/9/28 14:15
 * @Version:1.0
 */
@RestController
@RequestMapping("/")
public class BankAController {

    @Resource
    private BankService bankService;
    @GetMapping("/add")
    public Object xx(){
        bankService.add();
        return "ok";
    }
}
